
export JAVA_HOME=/opt/jdk1.8.0_101

NAMESRV_ADDR=192.168.88.135:9876

MQ_HOME=/home/csdn/alibaba-rocketmq

cd $MQ_HOME/bin

bash mqadmin consumerProgress -n $NAMESRV_ADDR | awk -f /etc/zabbix/scripts/max-len.awk

